package com.jesper.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jesper.model.Property;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface PropertyMapper extends BaseMapper<Property> {

    @Select("select item_id from tb_property where id = #{id}")
    Long getItemId(Long id);//删除逻辑

}
